#!/bin/sh

####

# mac生成release包

#####

VERSION=$(cat './pubspec.yaml' | grep 'version:' | awk -F ': ' '{ print $2 }')
echo "VERSION="${VERSION}
flutter clean
flutter build macos --release
cd ./build/macos/Build/Products/Release
zip -r MacOS_${VERSION}.zip super_tool_server.app
